package bb.lanxing.lib.devices.sprint.utils;

import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;

public final class X2pHRDeviceState {
    private Integer alertMaxHr;
    private Boolean alertState;
    private Integer recordMode;
    private Integer recordState;
    private Integer stepState;

    public static /* synthetic */ X2pHRDeviceState copy$default(X2pHRDeviceState x2pHRDeviceState, Integer num, Integer num2, Integer num3, Boolean bool, Integer num4, int i, Object obj) {
        if ((i & 1) != 0) {
            num = x2pHRDeviceState.recordState;
        }
        if ((i & 2) != 0) {
            num2 = x2pHRDeviceState.stepState;
        }
        Integer num5 = num2;
        if ((i & 4) != 0) {
            num3 = x2pHRDeviceState.recordMode;
        }
        Integer num6 = num3;
        if ((i & 8) != 0) {
            bool = x2pHRDeviceState.alertState;
        }
        Boolean bool2 = bool;
        if ((i & 16) != 0) {
            num4 = x2pHRDeviceState.alertMaxHr;
        }
        return x2pHRDeviceState.copy(num, num5, num6, bool2, num4);
    }

    public final Integer component1() {
        return this.recordState;
    }

    public final Integer component2() {
        return this.stepState;
    }

    public final Integer component3() {
        return this.recordMode;
    }

    public final Boolean component4() {
        return this.alertState;
    }

    public final Integer component5() {
        return this.alertMaxHr;
    }

    public final X2pHRDeviceState copy(Integer num, Integer num2, Integer num3, Boolean bool, Integer num4) {
        return new X2pHRDeviceState(num, num2, num3, bool, num4);
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof X2pHRDeviceState)) {
            return false;
        }
        X2pHRDeviceState x2pHRDeviceState = (X2pHRDeviceState) obj;
        return Intrinsics.areEqual(this.recordState, x2pHRDeviceState.recordState) && Intrinsics.areEqual(this.stepState, x2pHRDeviceState.stepState) && Intrinsics.areEqual(this.recordMode, x2pHRDeviceState.recordMode) && Intrinsics.areEqual(this.alertState, x2pHRDeviceState.alertState) && Intrinsics.areEqual(this.alertMaxHr, x2pHRDeviceState.alertMaxHr);
    }

    public int hashCode() {
        Integer num = this.recordState;
        int i = 0;
        int hashCode = (num == null ? 0 : num.hashCode()) * 31;
        Integer num2 = this.stepState;
        int hashCode2 = (hashCode + (num2 == null ? 0 : num2.hashCode())) * 31;
        Integer num3 = this.recordMode;
        int hashCode3 = (hashCode2 + (num3 == null ? 0 : num3.hashCode())) * 31;
        Boolean bool = this.alertState;
        int hashCode4 = (hashCode3 + (bool == null ? 0 : bool.hashCode())) * 31;
        Integer num4 = this.alertMaxHr;
        if (num4 != null) {
            i = num4.hashCode();
        }
        return hashCode4 + i;
    }

    public String toString() {
        return "X2pHRDeviceState(recordState=" + this.recordState + ", stepState=" + this.stepState + ", recordMode=" + this.recordMode + ", alertState=" + this.alertState + ", alertMaxHr=" + this.alertMaxHr + ')';
    }

    public X2pHRDeviceState(Integer num, Integer num2, Integer num3, Boolean bool, Integer num4) {
        this.recordState = num;
        this.stepState = num2;
        this.recordMode = num3;
        this.alertState = bool;
        this.alertMaxHr = num4;
    }

    public final Integer getRecordState() {
        return this.recordState;
    }

    public final void setRecordState(Integer num) {
        this.recordState = num;
    }

    public final Integer getStepState() {
        return this.stepState;
    }

    public final void setStepState(Integer num) {
        this.stepState = num;
    }

    public final Integer getRecordMode() {
        return this.recordMode;
    }

    public final void setRecordMode(Integer num) {
        this.recordMode = num;
    }

    public final Boolean getAlertState() {
        return this.alertState;
    }

    public final void setAlertState(Boolean bool) {
        this.alertState = bool;
    }

    public final Integer getAlertMaxHr() {
        return this.alertMaxHr;
    }

    public final void setAlertMaxHr(Integer num) {
        this.alertMaxHr = num;
    }
}
